package org.dromara.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 文件和对应拥有者的关联对象 sys_oss_resource
 *
 * @author HKX
 * @date 2025-09-23
 */
@Data
@TableName("sys_oss_resource")
public class OssResource  {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 文件实体id
     */
    @TableId(value = "oss_id", type = IdType.INPUT)
    private Long ossId;

    /**
     * 对应关联实体的id
     */
    private Long resourceId;


}
